<extend name="work/base"/>
<block name="content">
        <table class="layui-table text-center" id="list" lay-filter="list"
               list-url="{:url('/customer/tax/lists')}"
               edit-url="{:url('/customer/tax/taxwork')}"
        ></table>
    <!-- end case-content -->
</block>
<block name="script">
    <script type="text/html" id="barDemo">
        <a class="layui-btn  layui-btn-xs " lay-event="edit"><i class="fa fa-pencil"></i> 处理</a>
    </script>
    <script type="text/javascript">
        layui.use(['carousel', 'jquery', 'element', 'table', 'layer','lea'], function () {
            var carousel = layui.carousel
                , element = layui.element
                , layer = layui.layer
                ,table=layui.table
                , $ = layui.$;
            table.render({
                elem: '#list'
                , url: "{:Url('/customer/tax/lists')}"
                , page: true
                , limit: 20
                , cols: [[
                     {field: 'user_company',  title: '客户名称'}
                    , {field: 'c_time',  width: 180,title: '时间'}
                    , {field: 'company',  title: '开票公司名称'}
                    , {field: 'price', width: 140, title: '金额',align:'right'}
                    , {field: 'status', width: 100,title: '状态' }
                    , {fixed: 'right', width: 80, title: '操作', toolbar: '#barDemo'}
                ]]
            });


        });
    </script>
</block>